package cn.starrysky108.simpleerp.finance.entity;

import cn.starrysky108.simpleerp.core.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 发票管理
 * </p>
 *
 * @author Carl Lee
 * @since 2021-08-14
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("finance_invoice")
@ApiModel(value = "FinanceInvoice对象", description = "发票管理")
public class FinanceInvoice extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "备注")
    @TableField("note")
    private String note;

    @ApiModelProperty(value = "发票文件")
    @TableField("files")
    private String files;


    @ApiModelProperty(value = "关联订单")
    @TableField("relation_id")
    private Long relationId;

    @ApiModelProperty(value = "操作人id")
    @TableField("user_id")
    private Long userId;


}
